package com.relax.no_xml.config;

import com.relax.no_xml.aop.AopService;
import com.relax.no_xml.aop.LogAspects;
import com.relax.no_xml.aop.NormalService;
import com.relax.no_xml.bean.ImportColor;
import com.relax.no_xml.bean.Person;
import com.relax.no_xml.service.IgnoreService;
import org.springframework.context.annotation.*;

@Configuration
@EnableAspectJAutoProxy  //todo  aop源码
public class AopConfig {

	@Bean
	public AopService aopService(){
		return new AopService();
	}

	@Bean
	public LogAspects logAspects(){
		return new LogAspects();
	}

	@Bean
	public NormalService normalService(){
		return new NormalService();
	}

}
